package UserFactory;

public class AdminFactory implements UserFactory{
    @Override
    public User creatUser(String name, int age) {
        return new AdminUser(name,age);
    }
}
